﻿namespace GoodAdmin.CodeGenerator;

public class CodeGenFormConfigService : DbRepository<CodeGenFormConfig>, ICodeGenFormConfigService
{
    public Task Add(CodeGenFormConfigAddInput input)
    {
        throw new NotImplementedException();
    }

    public Task Delete(BaseIdInput input)
    {
        throw new NotImplementedException();
    }

    public async Task<CodeGenFormConfig> GetDetailData(BaseIdInput input)
    {
        return await GetFirstAsync(it => it.CodeGenBaseId == input.Id);
    }

    public Task Update(CodeGenFormConfigUpdateInput input)
    {
        throw new NotImplementedException();
    }
}
